:root{
  --primary-color:#fff;
  --secondary-color:#333;
}

body.dark {
  --primary-color:#333;
  --secondary-color:#fff;
}

#app{
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  background: var(--primary-color);
}


button{
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0 10px;
  min-width: 100px;
  height: 30px;
  border-radius: 5px;
  margin-top: 100px;
  cursor: pointer;
  transition: transform .25s linear;
  font-size: 14px;
}

.clock{
  position: relative;
  width: 150px;
  height: 150px;
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  margin-top: 100px;
}

.pointer{
  position: absolute;
  width: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-100%);
  transform-origin: bottom center;
  transition:transform .3s ease-out;
}

.clock .hour{
  height: 50px;
  background-color: var(--secondary-color);

}

.clock .minute{
  height: 30px;
  background-color: var(--secondary-color);
}

.clock .second{
  height: 40px;
  background-color: #e74c3c;
}

.dot{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background:var(--secondary-color);
  z-index: 33;
  border: 2px solid #e74c3c;
}

.hour_num{
  position: absolute;
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: 700;
}

.hour_12{
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 5px;
}

.hour_3{
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 10px;
}

.hour_6{
  bottom: 0;
  left: 50%;
  padding-bottom: 5px;
  transform: translateX(-50%);
}

.hour_9{
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 10px;
}

.line_wrap{
  /* position: relative; */
  /* width: 100%; */
  /* height: 100%; */
}

.line {
  position: absolute;
  width: 1px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--secondary-color);
  left: 70px;
  top: 1px;
  transform-origin:  center 72px;
}

line:nth-child(5n+1){
  width: 2px;
  height: 12px;
}

.date{
  margin-top: 20px;
  color:var(--secondary-color);
}

.week{
  font-size: 30px;
  font-weight: 700;
}

.tips{
  font-size: 18px;
  font-weight: 500;
  color: var(--secondary-color);
  margin-top: 10px;
}